
import request from '../http/index.js'

export const getMembershipCardInfo = (data) =>{
    return request({
        url:'/',
        method:'post',
        data:data,
    })
};

export const getAppointmentRecords =(data) =>{
    return request({
        url:'/',
        method:'post',
        data:data,
    })
}

export const getClassRecords =(data) =>{
    return request({
        url:'/',
        method:'post',
        data:data,
    })
}

export const getConsumptionRecords =(data) =>{
    return request({
        url:'/',
        method:'post',
        data:data,
    })
}
export const  submitRechargeFrom = (data) => {
    return request({
      url: '/',
      method: 'post',
      data:data,
    });
  };

export const  submitDeductionForm = (data) => {
    return request({
        url: '/',
        method: 'post',
        data:data,
    });
};

export const  getRecordList = (data) => {
    return request({
        url:'/',
        method:'post',
        data:data,
    })
}

export const  subChangeState =(data) =>{
    return request({
        url:'/',
        method:'post',
        data:data,
    })
}